package deviceinfo.wsm.com.deviceinfo.upload.request;

import java.util.List;

/**
 * Created by 王家宝 on 2018/8/3.
 * TEL:18241150668
 * MAIL:639586819@qq.com
 */

public class CusRequestEventBody {

    /**
     * phoneNo : 1234567890
     * originType : ios
     * dataType : useraction
     * data : {"userAction":[{"actEvent":"1","actCount":"2"},{"actEvent":"2","actCount":"1"}]}
     * uploadTime : 1532423581429
     */

    private int phoneNo;
    private String originType;
    private String dataType;
    private DataBean data;
    private String uploadTime;
    private String sign;
    private String deviceId;
    private String smartId;

    public String getSmartId() {
        return smartId;
    }

    public void setSmartId(String smartId) {
        this.smartId = smartId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public int getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(int phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getOriginType() {
        return originType;
    }

    public void setOriginType(String originType) {
        this.originType = originType;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(String uploadTime) {
        this.uploadTime = uploadTime;
    }

    public static class DataBean {
        private List<UserActionBean> userAction;

        public List<UserActionBean> getUserAction() {
            return userAction;
        }

        public void setUserAction(List<UserActionBean> userAction) {
            this.userAction = userAction;
        }

        public static class UserActionBean {
            /**
             * actEvent : 1
             * actCount : 2
             */

            private String actEvent;
            private String actCount;
            private String actEventType;
            private long timestamp;

            public long getTimestamp() {
                return timestamp;
            }

            public void setTimestamp(long timestamp) {
                this.timestamp = timestamp;
            }

            public String getActEventType() {
                return actEventType;
            }

            public void setActEventType(String actEventType) {
                this.actEventType = actEventType;
            }

            public String getActEvent() {
                return actEvent;
            }

            public void setActEvent(String actEvent) {
                this.actEvent = actEvent;
            }

            public String getActCount() {
                return actCount;
            }

            public void setActCount(String actCount) {
                this.actCount = actCount;
            }
        }
    }
}
